<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0" />
		<!--ios是否运行创建快捷启动方式-->
		<meta content="yes" name="apple-mobile-web-app-capable">
		<!--ios顶部通知栏的样式 黑色-->
		<meta content="black" name="apple-mobile-web-app-status-bar-style">
		<!--遇到数字不让转成电话号码格式-->
		<meta content="telephone=no" name="format-detection">
		<title>我的v店</title>
		<link rel="stylesheet" href="assets/mui/css/mui.min.css">
		<link rel="stylesheet" type="text/css" href="common/css/base.css" />
		<link rel="stylesheet" href="css/v-store.css">
	</head>

	<body>
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll" style="height: 100%;">
				<!--顶部-->
				<div class="top">
					<div class="top-one">
						<span><img src="img/right.png"/></span>
						<span>返回</span>
					</div>

					<div class="top-two">
						<span id="buyer">我是买家</span>
						<span class="top-cur" id="store">我是卖家</span>
					</div>

					<div style="opacity: 0;">
						<img src="img/3point.png" />
					</div>
				</div>

				<!--商品头部-->
				<div class="store-head">
					<!--TODO-->
				</div>
				<!--店铺预览-->
				<div class="store-see">
					<div id="myStoreUserUuid">
						<div><img src="img/store-eye.png" /></div>
						<div>店铺预览</div>
					</div>
					<div>
						<div onclick="ldClick('v-store-shop.html')"><img src="img/logoTwo.png"/></div>
						<div>平台商家</div>
					</div>
				</div>

				<!--商品预约及我的商品-->
				<div class="myshop">
					<div class="myshop-order myshopcur">商品预约</div>
					<div class="myshop-product">我的商品</div>
				</div>
				<!--商品预约-->
				<div class="mui-scroll-wrapper" id="mui-scroll-wrapper" style="margin-top: 6rem; z-index: 999;">
					<div class="mui-scroll">
						<div class="myshop-order-list" id="myshop-order-list">
							<!--TODO-->
						</div>
					</div>
				</div>
				<!--我的商品-->
				<div class="mui-scroll-wrapper" id="mui-scroll-wrapper-product" style="margin-top: 6rem;margin-bottom: 1rem;">
					<div class="mui-scroll">
						<div class="myproduct">
							<!--TODO-->
						</div>
					</div>
				</div>

			</div>
		</div>

		<!--添加分类和添加商品-->
		<div class="addproduct-addcategory">
			<span id="mystore-newcategory">新建分类</span>
			<span class="createNewPru">新建商品</span>
		</div>

		<!--商品预约的微信-->
		<div class="mybuyer-wecht-show">
			<div>
				<p>长按识别二维码</p>
				<p>选择"识别图中二维码"</p>
				<div id="mybuyer-change"><img src="img/456.jpg" /></div>
				<div id="mybuyer-close"><img src="img/fork.png" /></div>
			</div>
		</div>

		<!--电话页面-->
		<div class="mybuyer-phone-show">
			<div>
				<span>123456789</span>
			</div>
		</div>

		<!--确认删除页面-->
		<div class="buy-delete">
			<div>
				<p>商品预约</p>
				<p>确定删除此预约吗？</p>
				<div>
					<span id="buy-delete-close">取消</span>
					<span id="buy-delete-open">确认</span>
				</div>
			</div>
		</div>

		<!--头部遍历-->
		<script type="text/html" id="headStoreTemplate">
			<div><img src="<%=user.userImg%>" /></div>
			<p>
				<%=user.userName%>
				<%=user.userTel%>的V店
			</p>
			<p>
				<%=user.userSignsture%>
			</p>
		</script>

		<!--分类遍历-->
		<script type="text/html" id="catecoryTemplate">
			<% for(var i=0;i<bayUuidAndTypes.length;i++) { %>
			<div class="myproduct-category" data-catecoryid="<%=bayUuidAndTypes[i].id%>">
				<div class="myproduct-category-num" data-id="<%=bayUuidAndTypes[i].id%>"><%=bayUuidAndTypes[i].typeName%></div>
				<div>
					<span class="mystore-edit"><img src="img/edit.png"/></span>
					<span class="mystore-trash"><img src="img/trash.png"/></span>
				</div>
			</div>
			<% } %>
		</script>

		<!--商品预约遍历-->
		<script type="text/html" id="productOrderTemplate">
			<% for(var i = 0;i< bayUserUuid.length ; i++) { %>
			<div class="myshop-order-list-detail">
				<div>
					<span class="store-username">
						<% if(!bayUserUuid[i].user) { %>
						<img src="img/visitors.png"/>
						<% }else{ %>
						<img src="<%=bayUserUuid[i].user.userImg%>"/>	
						<% } %>
					</span>
					<% if(!bayUserUuid[i].user){%>
					<span>游客</span>
					<% }else{ %>
					<span><%=bayUserUuid[i].user.userName%></span>
					<% } %>
				</div>
				<div>
					<div><img src="<%=bayUserUuid[i].tbGoods.goodsImg%>" /></div>
					<div>
						<p><%=bayUserUuid[i].tbGoods.goodsName%></p>
						<div>
							<div style="color:#e31c1c;">￥<%=bayUserUuid[i].tbGoods.goodsPrice%></div>
							<div>
								<% if(!bayUserUuid[i].user){%>
								<span class="trash-delete" data-id="<%=bayUserUuid[i].tbGoods.goodsId%>"><img src="img/trash.png" /></span>
								<% }else{ %>
								<span class="trash-delete" data-id="<%=bayUserUuid[i].tbGoods.goodsId%>" data-uuid="<%=bayUserUuid[i].clientUuid%>"><img src="img/trash.png" /></span>
								<% } %>
								
								<% if(!bayUserUuid[i].user){%>
								<a class="mybuyer-phone" data-phone=" "><img src="img/tel-store.png" /></a>
								<% }else{ %>
								<a class="mybuyer-phone" data-phone="<%=bayUserUuid[i].user.userTel%>"><img src="img/tel-store.png" /></a>
								<% } %>
								
								<% if(!bayUserUuid[i].user) {%>
								<span class="mystore-open" data-urll=" "><img src="img/wechat-store.png"/></span>
								<% }else{ %>
								<span class="mystore-open" data-urll="<%=bayUserUuid[i].user.userWxImg%>"><img src="img/wechat-store.png"/></span>
								<% } %>
							</div>
						</div>
					</div>
				</div>
			</div>
			<% } %>
		</script>

		<script src="js/jquery-3.1.0.min.js"></script>
		<script src="assets/artTemplate/template-native.js"></script>
		<script src="js/remstyle.js"></script>
		<script src="common/js/common.js"></script>
		<script src="assets/mui/js/mui.min.js"></script>
		<script src="js/v-store.js"></script>
	</body>

</html>